package com.work.formaldehyde.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.umeng.analytics.MobclickAgent;
import com.work.formaldehyde.R;
import com.work.formaldehyde.util.ApiUtils;
import com.work.formaldehyde.view.CircleProgress;

public class WuRanActivity extends AppCompatActivity implements View.OnClickListener {

    private ImageView jiance_comeback;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ApiUtils.ActivityIsLogin(this, 1);
        setContentView(R.layout.activity_jiance);
        if (ApiUtils.isNetworkConnected(WuRanActivity.this))
            inti();
    }

    private int getValue = 0;

    /**
     * 初始化加载调用方法
     */
    public void inti() {
        jiance_comeback = findViewById(R.id.jiance_comeback);
        jiance_comeback.setOnClickListener(this);
    }

    @Override
    public void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }
    @Override
    public void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.jiance_comeback:
                onBackPressed();
                break;

        }
    }
}
